package com.cn.sqlSession;

import com.cn.pojo.Configuration;
import com.cn.pojo.MapperdStatement;

import java.util.List;

public interface Executor {

    public <E> List<E> query(MapperdStatement mapperdStatement, Object... params) throws Exception;

    public Integer update(MapperdStatement mapperdStatement,
                          Object... params)throws Exception;

    public Integer delete(MapperdStatement mapperdStatement,
                       Object... params)throws Exception;

    public Integer insert(MapperdStatement mapperdStatement,
                       Object... params)throws Exception;

}
